package com.mingqijia.gassafety.webserver.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-03-09
 *
 */

@Data
@ApiModel(value="FileUpload列表出参", description="文件上传记录")
public class FileUploadResponse {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "上传条数")
    private Integer rowCount;

    @ApiModelProperty(value = "上传状态 success-成功 fail-失败")
    private String uploadStatus;

    @ApiModelProperty(value = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date uploadTime;

    @ApiModelProperty(value = "操作人")
    private String uploadCreator;

    @ApiModelProperty(value = "创建者名字")
    private String creatorName;

    @ApiModelProperty(value = "上传至表代号code")
    private String uploadCode;

    @ApiModelProperty(value = "上传条数")
    private String uploadUrl;

    @ApiModelProperty(value = "提示信息")
    private String jsonInfo;

    @ApiModelProperty(value = "提示信息")
    private List<Object> jsonInfoList;
}
